<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Branch_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-branch_id" data-rule="required" data-source="branch/index" class="form-control selectpage" name="row[branch_id]" type="text" value="">
        </div>
    </div>
    <!-- 循环显示物品信息 -->
    {foreach $voucher as $v}
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{$v['name']}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-send" data-rule="" class="form-control" name="row[send][{$v['id']}]" type="number" value="">
                没有请填0或不填
            </div>
        </div>
    {/foreach}
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
